<?php

use App\Config;
use Illuminate\Database\Seeder;

class ConfigsTableSeeder extends Seeder {
	/**
	 * Run the database seeds.
	 *
	 * @return void
	 */
	public function run() {
		$config = [
			'carousel' => 1,
			'follow' => 1,
			'cate' => 1,
			'see' => 1,
			'message' => 1,
			'recommend' => 1,
			'reward' => 0,
			'chat' => 0,
		];
		$title = env('APP_NAME', 'Laravel');
		(new Config)->create(compact('config', 'title'));
	}
}
